package sites.manager.common.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * @author zyg
 * @date 2022/4/15 20:28
 */
public class ExceptionInterceptor implements Interceptor {

    @Override
    public void intercept(Invocation invocation) {
        try {
            invocation.invoke();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
